package com.demo.service;

import com.demo.pojo.dto.StudentListDTO;
import com.demo.pojo.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author lenovo
* @description 针对表【student】的数据库操作Service
* @createDate 2025-09-11 17:15:14
*/
public interface StudentService extends IService<Student> {

    Student selectById(Integer id);

    void saveStudent(Student student);

    void updateStudent(Student student);

    Map<String, Object> listPage(StudentListDTO studentListDTO);

    /**
     * 获取所有学生列表
     * @return 学生列表
     */
    List<StudentListDTO> getStudentList();

}


